<%--
  Created by IntelliJ IDEA.
  User: wangjian
  Date: 14-4-9
  Time: 下午3:50
  To change this template use File | Settings | File Templates.
  门户资源管理list
--%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@include file="../../common/include_list_head.jsp" %>
</head>

<body >
<div id="scrollContent">

    <s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
        <div id="SystemErrorMessage" >
            <s:actionerror/>
            <s:actionmessage/>
            <s:fielderror/>
        </div>
    </s:if>

    <div class="box_tool_mid padding_right5">
        <div class="center">
            <div class="left">
                <div class="right">
                    <div class="padding_top8 padding_left10">
                        <table>
                            <s:form theme="simple" name="ysform">
                                <s:hidden name="pager.formname" value="ysform"/>
                                <s:hidden name="pager.currentPageno" id="yspager_currentPageno"/>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td align="center" nowrap="nowrap" class="">&nbsp;资源名称：
                                        <s:textfield name="tsysMenu.menuname" id="departname" maxlength="30" size="20"/>
                                    </td>
                                    <td align="center" nowrap="nowrap" class="">&nbsp;状态：
                                        <s:select id="state" name="tsysMenu.state" list="#{'':'全部','1':'可用','0':'禁用'}" listKey="key" listValue="value" onchange="super_doSearch()"/>
                                    </td>
                                    <td align="center" nowrap="nowrap" class="">&nbsp;接入系统：
                                        <s:select id="qrole" name="tsysMenu.belongtoapp" list="getList()" headerKey="" headerValue="----全部系统----" listKey="appid" listValue="appname"/>
                                    </td>
                                    <td>
                                        <button onclick="super_doSearch()" type="button"><span class="icon_find">查询</span></button>
                                        <button onclick="doreset();" type="button"><span class="icon_recycle">重置</span></button>
                                        <a ></a>
                                    </td>
                                </tr>
                            </s:form>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="userRoleMenuButton">
        <button onclick="doRemove()"><span class="icon_delete">取消添加</span></button>
    </div>
    <div>
        <table class="tableStyle" headFixMode="true"
               useMultColor="false" useCheckBox="false">
            <tr>
                <th width="5%" align="center"></th>
                <th width="10%" align="center">资源名称</th>
                <th width="10%" align="center">所属系统</th>
                <th width="10%" align="center">资源状态</th>
                <th width="40%" align="center">资源路径</th>
                <th width="10%" align="center">资源类型</th>
            </tr>
            <s:iterator value="resultData">
                <tr>
                    <td align="center"><s:checkbox id="%{menuid}" name="selectNode" fieldValue="%{menuid}"/></td>
                    <td align="center">
                        <a href="javascript:openEntity('<s:property value="menuid"/>')"><font color="blue"><s:property value="menuname"/></font></a>
                    </td>
                    <td align="center">
                        <s:property value="ywxtmc"/>
                    </td>
                    <td align="center">
                        <s:if test="state == 1 ">
                            可用
                        </s:if><s:else>
                        不可用
                        </s:else>
                    </td>
                    <td align="center">
                        <s:property value="menupath"/>
                    </td>
                    <td align="center">
                        <s:property value="srctype" />
                    </td>
                </tr>
            </s:iterator>
        </table>
    </div>

    <div style="height: 45px;">
        <div id="pagelist" style="display: none">
            <s:property value="pager.postToolBar" escape="false"/>
        </div>

        <div class="clear"></div>
    </div>

</div>
</body>
</html>
